package cc.comac.mom.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;

@TableName("equip_warehouse_stock")
public class EquipWarehouseStockEntity extends BaseResultEntity {

	/**
	 * 
	 */
	
	private static final long serialVersionUID = 1L;

	@TableId(value = "warehouse_id", type = IdType.INPUT)
	@TableField("warehouse_id")
	private long id;
	
	private String warehouseName;
	
	private long sparePartId;
	
	private double quantity;
	
	private String location;
	
	@Override
	public long getId() {
		return id;
	}

	@Override
	public void setId(long id) {
		this.id = id;
	}

	public String getWarehouseName() {
		return warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	public long getSparePartId() {
		return sparePartId;
	}

	public void setSparePartId(long sparePartId) {
		this.sparePartId = sparePartId;
	}

	public double getQuantity() {
		return quantity;
	}

	public void setQuantity(double quantity) {
		this.quantity = quantity;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	
	
}
